#include "a.hpp"

int main(){
	ArmorDetector detector;
	for(int i=1;i<=8;i++) {
		std::string read="../result/armor/r"+ std::to_string(i)+".jpg";
		std::string path = "../image/armor/r"+ std::to_string(i)+".jpg";

		detector.src= cv::imread(path);
		detector.detection();
//		cv::imwrite(read,detector.src);
	}


//detector.BGRtrans(detector.src);
	

}